<template>
	<view class="content">
		<UserInfo :user = item v-for="(item,index) in users" :key="item.id"></UserInfo>
	</view>
</template>

<script setup>
import { ref } from 'vue';
	const users = ref([
		{id:11, name: "张三" , avator: "../../static/logo.png"},
		{id:22, name: "李四", avator: "../../static/avator1.jpg"},
		{id:33, name: "李四", avator: "../../static/avator2.jpg"}
		])
	
</script>

<style lang="scss" scoped>
	
</style>
